#include "main.hpp"
#include "configwin.hpp"

using namespace Gtk;
using namespace Glib;
using namespace sigc;
using namespace std;
using namespace Gnome;

int main(int argc, char *argv[])
{
    Main kit(argc,argv);
    
    MainWin mw;
    
	if(!SettingsManager.CheckSettings(SettingsFile)){
		if(!FirstRun())return -1;
	}

    mw.Run();
}

bool FirstRun(){
	cout << "This is the first run..." << endl;
	ConfigWin firstcw(true);
	firstcw.Run();
	return SettingsManager.CheckSettings(SettingsFile);
}
